package initialize

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"github.com/flipped-aurora/gin-vue-admin/server/model/flaud"
)

func bizModel() error {
	db := global.GVA_DB
	err := db.AutoMigrate(flaud.CROSSBorderCase{}, flaud.CaseCause{}, flaud.CaseFacts{}, flaud.CaseFact{}, flaud.JudgmentReason{}, flaud.LegalBasis{}, flaud.CoConspirator{}, flaud.EvidenceTy{}, flaud.JudgmentParagraph{}, flaud.BehavioralTrait{}, flaud.CrimeElementType{}, flaud.CaseManagement{}, flaud.TimeRegionQuantity{}, flaud.RegionData{}, flaud.ScamEvent{})
	if err != nil {
		return err
	}
	return nil
}
